package com.lms.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description: 腾讯云短信验证码实体映射
 * @author: L-B-S
 * @Date: 2021/4/3 11:05
 * @modified_By:
 * @Version: 0.0$
 */
@Data
@Component
@ConfigurationProperties(prefix = "sms")
public class Sms {
    /**
     * 腾讯云应用appId
     */
    private Integer appId;
    /**
     * 腾讯云应用appKey
     */
    private String appKey;
    /**
     * 腾讯云短信模板ID
     */
    private Integer templateId;
    /**
     * 腾讯云短信签名内容
     */
    private String smsSign;
    /**
     * 设置短信有效时间
     */
    private Integer duration;
}
